<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Students_model extends CI_Model {

    function __construct() {
        parent::__construct();
    }

    function get_by_id($student_id) {
        return $this->db->get_where('students', array('id' => $student_id))->row();
    }
}